package cn.net.wanji.mapper;

import cn.net.wanji.annotation.DataSource;
import cn.net.wanji.entity.HourVehicles;
import cn.net.wanji.entity.TrafficFlowVehicleDto;
import cn.net.wanji.entity.VehicleRsuInfo;
import cn.net.wanji.enums.DataSourceType;
import cn.net.wanji.vo.VehicleExceptionVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@DataSource(value = DataSourceType.SLAVE)
public interface TrafficFlowStatisticsMapper {
    List<TrafficFlowVehicleDto> trafficFlowVehicleClassifiedStatistic(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
    VehicleRsuInfo abnormalmodels(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
    VehicleRsuInfo labelAbnormality(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
    List<VehicleRsuInfo> hazardousChemicals(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
    Long vehicleRsuInfoTotals(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
    Long vehicleRsuInfoBeforeHourTotals();
    Long vehicleRsuInfoErrTotals(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
    Long hazardousChemicalTotals(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
    Long inconsistentModelTotals(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
    HourVehicles getFlowStatementList(@Param("vehicleRsuInfo") VehicleRsuInfo vehicleRsuInfo);
}
